﻿using System;
using System.Runtime.Serialization;
namespace PH.Model.Systems
{
    [DataContract]
    public class BureauModel:MBase
    {
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        [DataMember]
        public int ID { get; set; }
        [Model]
        [DataMember]
        public string EduName { get; set; }
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        [DataMember]
        public System.DateTime CreatedOn { get; set; }
        [Model]
        [DataMember]
        public Nullable<int> PID { get; set; }
        [Model]
        [DataMember]
        public int Sort { get; set; }
        [Model]
        [DataMember]
        public Guid Guid { get; set; }
        [DataMember]
        [Model]
        public string Code { get; set; }

        #region Help
        [DataMember]
        public string UserName { get; set; }
        [DataMember]
        public string RealName { get; set; }
        [DataMember]
        public string Mobile { get; set; }
        [DataMember]
        public PH.Model.Accounts.UserModel User { get; set; }
        #endregion
    }

    [DataContract]
    public class BureauCollection : ModelCollectionBase<BureauModel> { }
}
